#include "HufArc.h"

int main (int argc, char ** argv)
{

	FILE * fileToRead = NULL;
	FILE * fileToWrite = NULL;
	__HufTree * H_T = NULL;
	fileHead * fileHd = (fileHead*) calloc (1,sizeof(fileHead)); 
	fileToRead = fopen (argv[1],"rb");
	fileToWrite = fopen (argv[2],"wb");
	H_T = mkH_TInit (fileToRead);
	compres (fileToWrite,fileToRead,H_T);
	system ("pause");
	return 0;
}